package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yu
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PmsBrand implements Serializable {


    /**
     * 品牌id
     */
    @Excel(name = "编号")
    @TableId(value = "brand_id", type = IdType.AUTO)
    private Long brandId;

    /**
     * 名称
     */
    @Excel(name = "品牌名")
    private String name;

    /**
     * 首字母
     */
    @Excel(name = "首字母")
    private String firstLetter;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 是否显示[0-不显示；1-显示]
     */
    @Excel(name = "状态",replace = {"未删除_0","已删除_1"})
    private Integer showStatus;

    /**
     * 品牌logo
     */
    @Excel(name = "logo",type = 2,height = 50,width = 75,imageType = 1,savePath = "https://bzmall-yuhao.oss-cn-beijing.aliyuncs.com/logo/")
    private String logo;


    /**
     * 品牌描述
     */
    @Excel(name = "品牌故事")
    private String brandStory;


}
